package trash.Tmp;

public class OverloadingTest {
    public static void main(String[] args) {
        print("123");
        print(123);

        //print(null);  ERROR!!!!
        print((Integer)null);
        print((String)null);

        print((byte)0);
        print(null, null);
    }

    public static void print(Integer i) {
        System.out.println("Integer");
    }

    public static void print(String s) {
        System.out.println("String");
    }

    public static void print(short l) {
        System.out.println("short");
    }

    public static void print(Object o1, Object o2) {
        System.out.println("Object, Object");
    }

    public static void print(String s1, String s2) {
        System.out.println("String, String");
    }
}
